package com.stylefeng.guns.modular.goods.service;

import com.stylefeng.guns.modular.goods.model.Spu;
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.goods.model.dto.SpuDto;

/**
 * <p>
 * spu表 服务类
 * </p>
 *
 * @author wuyifie
 * @since 2018-09-05
 */
public interface ISpuService extends IService<Spu> {
    /**
     * 保存spu , spu规格中间表
     * @param spuDto
     */
    void save(SpuDto spuDto);

    void deleteAll(Long spuId);
}
